package com.ruoyi.contract.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同签约方连对象 contract_signing_party_connection
 * 
 * @author ruoyi
 * @date 2024-10-18
 */
public class ContractSigningPartyConnection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long contractSigningPartyConnectionId;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractId;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractName; // 新增

    /** 签约方id */
    @Excel(name = "签约方id")
    private Long contractPartyId;

    /** 签约方名称 */
    @Excel(name = "签约方名称")
    private String contractPartyName; // 新增

    public void setContractSigningPartyConnectionId(Long contractSigningPartyConnectionId)
    {
        this.contractSigningPartyConnectionId = contractSigningPartyConnectionId;
    }

    public Long getContractSigningPartyConnectionId()
    {
        return contractSigningPartyConnectionId;
    }

    public void setContractId(Long contractId)
    {
        this.contractId = contractId;
    }

    public Long getContractId()
    {
        return contractId;
    }

    public void setContractName(String contractName) // 新增方法
    {
        this.contractName = contractName;
    }

    public String getContractName() // 新增方法
    {
        return contractName;
    }

    public void setContractPartyId(Long contractPartyId)
    {
        this.contractPartyId = contractPartyId;
    }

    public Long getContractPartyId()
    {
        return contractPartyId;
    }

    public void setContractPartyName(String contractPartyName) // 新增方法
    {
        this.contractPartyName = contractPartyName;
    }

    public String getContractPartyName() // 新增方法
    {
        return contractPartyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("contractSigningPartyConnectionId", getContractSigningPartyConnectionId())
                .append("contractId", getContractId())
                .append("contractName", getContractName()) // 新增
                .append("contractPartyId", getContractPartyId())
                .append("contractPartyName", getContractPartyName()) // 新增
                .append("remark", getRemark())
                .toString();
    }
}
